
class Array1 {
    static [Symbol.hasInstance](x) {
        return Array.isArray(x);
    }
}

const arr = [1];
console.log(arr instanceof Array1);